package yxm.zyf.love.service.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import yxm.zyf.love.domian.MobileCustomer;
import yxm.zyf.love.service.MobileIncrementBusiness;

public class MobileIncrementV1 implements MobileIncrementBusiness {

    Logger logger= LoggerFactory.getLogger(MobileIncrementV1.class);

    @Override
    public void increment(MobileCustomer mobileCustomer, int money) {
        logger.info("给{}充值电话费,充值金额:{}",mobileCustomer.getTel(),money);
        logger.info("充值完成.");
    }

    @Override
    public boolean supports(MobileCustomer delimiter) {
        return true;
    }
}
